#pragma once
#include "FWGame.h"
#include <dinput.h>
#include <d3dx9.h>
class FWGame;
class FWMouse
{
protected:
	FWGame* __gameObject;
	LPDIRECTINPUTDEVICE8 _did8;
	LPDIRECTINPUT8 _di8;
	DIMOUSESTATE _mouseState;
public:
	FWMouse(FWGame* game);
	~FWMouse(void);
	bool init();
	D3DXVECTOR2 GetMousePosition();
	void getState();
	DIMOUSESTATE GetInfo();
	bool IsButtonDown(int);

};

